package com.student.student;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class stu {
    @Id
    private String academy;
    private String cla;
    private String email;
    private Integer id;
    private String name;

    public stu() {
    }

    public stu(String academy, String cla, String email, Integer id, String name) {
        this.academy = academy;
        this.cla = cla;
        this.email = email;
        this.id = id;
        this.name = name;
    }

    public String getAcademy() {
        return academy;
    }

    public void setAcademy(String academy) {
        this.academy = academy;
    }

    public String getCla() {
        return cla;
    }

    public void setCla(String cla) {
        this.cla = cla;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}

